package com.zzgele.qmzb.api.model;

import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.Id;
import java.io.Serializable;

/**
 *
 * Created by e on 2017/11/3
 *
 * @author <a href="http://eregg.com">eregg</a>
 */
public class VideoStorage implements Serializable{


    /**
     * 视频Id
     */
    @Id
    private String videoId;

    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 处理结束回调地址，通知调用方，处理结果
     */
    @NotBlank(message = "回调地址不能为空")
    private String returnUrl;

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getVideoId() {
        return videoId;
    }

    public void setVideoId(String videoId) {
        this.videoId = videoId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
